<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_Br" lang="pt_Br">
	<head>
		<?php include_http_metas() ?>
		<?php include_metas() ?>
		<?php include_title() ?>
        <?php echo tag('link', array('rel' => 'shortcut icon', 'href' =>  $sf_context->getRequest()->getRelativeUrlRoot(). '/images/gdf.gif')); ?>
		<?php include_stylesheets() ?>
		<?php echo javascript_tag("var cmThemeOfficeBase = '" . $sf_context->getRequest()->getRelativeUrlRoot() . "/images/ThemeOffice/';"); ?>
		<script type="text/javascript">var BASEURL = "<?php echo $sf_context->getRequest()->getRelativeUrlRoot() ;?>"</script>
		<?php include_javascripts(); ?>
	</head>
<body>
<div id="tudo">
	<div id="topo">
		<div id="header">
			<div id="logo"> <?php echo sfConfig::get('app_name'); ?></div>
		</div>
		<div id="module_menu" style="background: #f0f0f0; border: 1px solid #CCCCCC;">
			<div id='menu'></div>
    		<div class="clr"></div>
		</div>
	</div>
	<!-- Message -->
	<div id="mensagens">
	<?php if ($sf_user->getFlash('mensagem')): ?>
		<div class="msgSucesso">
			<h3>Sucesso</h3>
			<?php echo $sf_user->getFlash('mensagem') ?>
		</div>
	<?php endif; ?>
	<?php if ($sf_user->getFlash('orientacao')): ?>
		<div class="msgOrientacao">
			<h3>Orienta&ccedil;&atilde;o</h3>
			<?php echo $sf_user->getFlash('orientacao') ?>
		</div>
	<?php endif; ?>
	<?php if ($sf_user->getFlash('alert')): ?>
		<div class="msgAlerta">
			<h3>Aten&ccedil;&atilde;o</h3>
			<?php echo $sf_user->getFlash('alert') ?>
		</div>
	<?php endif; ?>
	<?php if ($sf_user->getFlash('erro')): ?>
		<div class="msgErro">
			<h3>Erro</h3>
			<?php echo $sf_user->getFlash('erro') ?>
		</div>
	<?php endif; ?>
	</div>

	<div id="conteudo">
		<?php echo $sf_content ?>
		<div class="clr"></div>
	</div>
	<div id="rodape"></div>
</div>
<div id='dialog_site' style="display: none;"></div>
<?php 
	$menu = new sfFoxsisMenu($sf_user);
	echo $menu->render();
?>
</body>
</html>